Autogenerated HTML docs for v1.6.0.1-126-ga118
diff --git a/git-submodule.html b/git-submodule.html index e4037fd..25c48a8 100644 --- a/git-submodule.html +++ b/git-submodule.html
@@ -326,7 +326,8 @@ <em>git submodule</em> [--quiet] init [--] [<path>…] <em>git submodule</em> [--quiet] update [--init] [--] [<path>…] <em>git submodule</em> [--quiet] summary [--summary-limit <n>] [commit] [--] [<path>…] -<em>git submodule</em> [--quiet] foreach <command></div></div> +<em>git submodule</em> [--quiet] foreach <command> +<em>git submodule</em> [--quiet] sync [--] [<path>…]</div></div> </div> <h2 id="_description">DESCRIPTION</h2> <div class="sectionbody"> @@ -471,6 +472,19 @@ <div class="para"><p>As an example, "git submodule foreach <em>echo $path <tt>git rev-parse HEAD</tt></em> will show the path and currently checked out commit for each submodule.</p></div> </dd> +<dt> +sync +</dt> +<dd> +<p> + Synchronizes submodules' remote URL configuration setting + to the value specified in .gitmodules. This is useful when + submodule URLs change upstream and you need to update your local + repositories accordingly. +</p> +<div class="para"><p>"git submodule sync" synchronizes all submodules while +"git submodule sync — A" synchronizes submodule "A" only.</p></div> +</dd> </dl></div> </div> <h2 id="_options">OPTIONS</h2> @@ -553,7 +567,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 2008-08-21 10:34:01 UTC +Last updated 2008-08-28 02:50:34 UTC </div> </div> </body>